package cn.w2.client;

public class Test {

    public static void main(String[] args) throws Exception {
//        while (true) {
//            String host="localhost";
//            int port=8081;
//            new W2Client(host, port).start();
//        }

        while (true) {
            String host="localhost";
            int port=502;
            new ModbusClient(host, port).start();
        }
    }
}
